package com.mz.mattress.admin.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.mz.mattress.api.common.Result;
import com.mz.mattress.api.entity.SysDict;

import java.util.Set;

public interface SysDictService {

    Result<IPage<SysDict>> list(String name, Integer pageNo, Integer pageSize);

    Result<SysDict> getById(Integer id);

    Result add(SysDict sysDict);

    Result updateById(SysDict sysDict);

    Result deleteByIds(Set<Integer> ids);

}
